<template>
	<!-- 轮播图 -->
	<view class="home">
			<!--circular用来设置循环轮播   indicator-dots设置下面小圆点用来点击 -->
			<swiper circular indicator-dots autoplay interval="3000" duration="1000">
				<!-- v-for循环遍历数组 -->
				<swiper-item v-for="item in swipers"  >
					<image :src="item"></image>
				</swiper-item>
			</swiper>
		</view>
		<!-- 按钮 -->
		<view class="renzheng">
			<navigator url="/pages/zizhi/zizhi">
			<button type="warn" style="width: 240rpx;">请认证企业</button>
			</navigator>
		</view>
</template>
<script>
	export default {
			data() {
				return {
					swipers:[
						'/pages/tupian/1.jpg',
						'/pages/tupian/2.jpg',
						'/pages/tupian/3.jpg'
					]
				}
			}
		}
</script>
<style lang="scss">
	.home{
			swiper{
				width: 750rpx;
				height: 470rpx;
				image{
					width: 100%;
					height: 100%;
				}
			}
		}

</style>


